
const dialog = {
  namespaced: true,
  state: {
    update_shape_show: false, //标会类修改弹框
    allicon_show: false, //标绘中全部icon弹框
    drill_show: false, //地址数据库钻孔详情弹框
    geologybranch_show: false, //图层树分支弹框
    videoMoinitor_show: false, // 监测监控 > 视频监控弹框
    ambient_show: false, // 监测监控 > 环境监测
    slopeRainfall_show: false, //监测监控 > 边坡 雨量检监测弹框
    monitoringAll_show: '', //检测监控公用一个变量控制弹窗
    production_show: '', //生产计划分支树弹框
    blastingTaste_show: false, //品位分布分支树
    blastingManagement_show: false, //生产调度 > 爆堆管理
    dispatchMonitor_show: false, //生产调度 > 调度监控
    people_show: false, //人员树
    monitoringStatistics_show: false, //监测监控 > 监测统计弹窗
    equipmentInfo_show: false, // 生产调度 > 调度监控 > 设备信息弹窗
    carTrajectory_show: false // 生产调度 > 调度监控 > 车辆轨迹回放弹窗
  },
  actions: {},
  mutations: {
    setUpdateShapeShow: (state, show) => {
      state.update_shape_show = show;
    },
    setAllIconShow: (state, show) => {
      state.allicon_show = show;
    },
    setDrill_show: (state, show) => {
      state.drill_show = show;
    },
    setGeologybranch_show: (state, show) => {
      state.geologybranch_show = show;
    },
    setPeople_show: (state, show) => {
      state.people_show = show;
    },
    setVideoMoinitor_show: (state, show) => {
      state.videoMoinitor_show = show;
    },
    setAmbient_show: (state, show) => {
      state.ambient_show = show;
    },
    setSlopeRainfall_show: (state, show) => {
      state.slopeRainfall_show = show;
    },
    setMonitoringAll_show: (state, showName) => {
      state.monitoringAll_show = showName;
    },
    setProduction_show: (state, showName) => {
      state.production_show = showName;
    },
    setBlastingTaste_show: (state, show) => {
      state.blastingTaste_show = show;
    },
    setUAV_show: (state, show) => {
      state.UAV_show = show;
    },
    setMonitoringStatistics_show: (state, show) => {
      state.monitoringStatistics_show = show;
    },
    setBlastingManagement_show: (state, show) => {
      state.blastingManagement_show = show;
    },
    setDispatchMonitor_show: (state, show) => {
      state.dispatchMonitor_show = show;
    },
    setEquipmentInfo_show: (state, show) => {
      state.equipmentInfo_show = show;
    },
    setCarTrajectory_show: (state, show) => {
      state.carTrajectory_show = show;
    }
  },
  getters: {
    UpdateShapeShow: state => state.update_shape_show,
    alliconShow: state => state.allicon_show,
    drillShow: state => state.drill_show,
    geologybranchShow: state => state.geologybranch_show,
    videoMoinitorShow: state => state.videoMoinitor_show,
    ambientShow: state => state.ambient_show,
    slopeRainfallShow: state => state.slopeRainfall_show,
    monitoringAllShow: state => state.monitoringAll_show,
    productionShow: state => state.production_show,
    blastingTasteShow: state => state.blastingTaste_show,
    UAV_show: state => state.UAV_show,
    people_show: state => state.people_show,
    monitoringStatisticsShow: state => state.monitoringStatistics_show,
    blastingManagementShow: state => state.blastingManagement_show,
    dispatchMonitorShow: state => state.dispatchMonitor_show,
    equipmentInfoShow: state => state.equipmentInfo_show,
    carTrajectorShow: state => state.carTrajectory_show
  }
};
export default dialog;
